package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.math.BigDecimal;

/**
 * 集中派送主单表
 *
 * @author 000432
 * @date 2017/12/6 0006
 */

@DatabaseTable(tableName = "dispatchScanMasterTable")
public class DispatchScanMasterTable {

    /**
     * {
     * "waybillNo": 100000707745,
     * "quantity": 11,
     * "realWeight": 1.00,
     * "chargeableWeight": 1.000,
     * "routeCode": "test02-test01-test03",
     * "packingSpecification": "编织袋",
     * "nowInventory": 0
     * }
     */

    @DatabaseField(generatedId = true)
    private transient Long id;
    /**
     * 配送任务编号
     */
    @DatabaseField()
    private String taskNo;
    /**
     * 运单号
     */
    @DatabaseField()
    private Long waybillNo;
    /**
     * 总开单数
     */
    @DatabaseField()
    private Integer quantity;
    /**
     * 实重
     */
    @DatabaseField()
    private BigDecimal realWeight;
    /**
     * 扫描件的总计费重量
     */
    @DatabaseField()
    private BigDecimal chargeableWeight;
    /**
     * 路由编码
     */
    @DatabaseField()
    private String routeCode;
    /**
     * 包装类型
     */
    @DatabaseField()
    private String packingSpecification;
    /**
     * 库存
     */
    @DatabaseField()
    private Integer nowInventory;
    /**
     * 标记：2-强扫，1-非强扫
     */
    @DatabaseField()
    private String remark;
    /**
     * 创建时间
     */
    @DatabaseField
    private String createTime;

    public DispatchScanMasterTable() {
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getNowInventory() {
        return nowInventory;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public void setNowInventory(Integer nowInventory) {
        this.nowInventory = nowInventory;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public Long getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(Long waybillNo) {
        this.waybillNo = waybillNo;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getRealWeight() {
        return realWeight;
    }

    public void setRealWeight(BigDecimal realWeight) {
        this.realWeight = realWeight;
    }

    public BigDecimal getChargeableWeight() {
        return chargeableWeight;
    }

    public void setChargeableWeight(BigDecimal chargeableWeight) {
        this.chargeableWeight = chargeableWeight;
    }

    public String getRouteCode() {
        return routeCode;
    }

    public void setRouteCode(String routeCode) {
        this.routeCode = routeCode;
    }

    public String getPackingSpecification() {
        return packingSpecification;
    }

    public void setPackingSpecification(String packingSpecification) {
        this.packingSpecification = packingSpecification;
    }
}
